<%layout("/common.html"){%>
<div class="box-header with-border">
	<div class="box-title">
		<i class="fa fa-user-o" style="font-size:12px;color:#6495ED;padding:0px 7px 0px 5px;"></i>
		<i style="font-size:16px">新增字典数据</i>
		<li class="long-gray-underline"></li>
	</div>
	<div class="box-title">
		<i class="font-italic" style="font-size:15px;color:#1e5edb;padding:0px 7px 0px 26px;">基本信息</i>
		<div class="box-tools pull-right">
			<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
		</div>
		<li class="short-gray-underline"></li>
	</div>
</div>
<div class="form-content">
	<div class="form-horizontal" id="form">
		<input type="hidden" id="type" value="${type}">
		
		<div class="row">
			<div class="col-xs-6">
				<div class="input-group">
					<label class="control-label col-sm-4" title="">
							<span style="color:red">*</span> 字典标签：<i class="fa icon-question hide"></i></label>
					<div class="col-sm-8">
						<#form:input id="dictLabel" class="required"/>
					</div>
				</div>
			</div>
			<div class="col-xs-6">
				<div class="input-group">
					<label class="control-label col-sm-4" title="">
							<span style="color:red">*</span> 字典数值：<i class="fa icon-question hide"></i></label>
					<div class="col-sm-8">
						<#form:input id="dictValue" class="required"/>
					</div>
				</div>
			</div>
		</div>
		
		<div class="row">			
			<div class="col-xs-6">
				<div class="input-group">
					<label class="control-label col-sm-4" title="">
							 字典编码：<i class="fa icon-question hide"></i></label>
					<div class="col-sm-8">
						<#form:input id="code"/>
					</div>
				</div>
			</div>
			<div class="col-xs-6">
				<div class="input-group">
					<label class="control-label col-sm-4" title="">
							 字典类型：<i class="fa icon-question hide"></i></label>
					<div class="col-sm-8">
						<#form:input id="type" value="${type}" readonly="readonly"/>
					</div>
				</div>
			</div>
		</div>
		
		<div class="row">
			<div class="col-xs-6">
				<div class="input-group">
					<label class="control-label col-sm-4" >
						<span class="required ">*</span> 信息备注：<i class="fa icon-question hide"></i>
					</label>
		
					<div class="col-sm-8">
						<textarea class="input-xxxlarge" name="remark" id="remark"></textarea>
					</div>
				</div>
			</div>
		</div>
		
		
		<div class="row">
			<div class="button">
				<#form:button class="btn btn-info" name="提交" id="ensure" icon="fa-check" onclick="submitPage('/dict/saveData')"/>
				<#form:button class="btn btn-default" name="关闭" id="cancel" icon="fa-mail-reply-all" onclick="closePage()"/>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript" src="${ctxPath}/js/system/dict/dictData.js"></script>
<%}%>